package com.dwxt.community.dao;

import com.dwxt.community.entity.SupervisorUser;
import com.dwxt.community.entity.SupervisorUserExample;
import java.util.List;

import com.dwxt.community.entity.vo.*;
import org.apache.ibatis.annotations.Param;

public interface SupervisorUserMapper {
    int countByExample(SupervisorUserExample example);

    int deleteByExample(SupervisorUserExample example);

    int deleteByPrimaryKey(String id);

    int insert(SupervisorUser record);

    int insertSelective(SupervisorUser record);

    List<SupervisorUserVo> selectByExample(SupervisorUserExample example);

    SupervisorUser selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") SupervisorUser record, @Param("example") SupervisorUserExample example);

    int updateByExample(@Param("record") SupervisorUser record, @Param("example") SupervisorUserExample example);

    int updateByPrimaryKeySelective(SupervisorUser record);

    int updateByPrimaryKey(SupervisorUser record);

    List<SupervisorUser> selectCensorsById(String id);

    List<SupervisorUserVo> selectAll(SupervisorUserVo supervisorUserVo);

    List<SupervisorUser> valityRepetition(SupervisorUserVo supervisorUserVo);

    List<SupervisorUser> selectBySuperiorId(String id);

    SupervisorUserVo selectDetailByPrimaryKey(String id);

    int updateSuperiorIdNullByPrimaryKey(String id);

    List<SupervisorUser> selectXunjinayuan(String id);

    SupervisorUserVo selectByPhone(String phone);
}